package com.okyai.cms.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 网站管理对象 cms_app
 * 
 * @author okyai
 * @date 2020-12-03
 */
public class CmsApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点id */
    private Integer id;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String appName;

    /** 站点域名，多个回车换行显示 */
    @Excel(name = "站点域名，多个回车换行显示")
    private String appUrl;

    /** 网站logo */
    @Excel(name = "网站logo")
    private String appLogo;

    /** 站点关键字 */
    @Excel(name = "站点关键字")
    private String appKeyword;

    /** 站点版权信息 */
    @Excel(name = "站点版权信息")
    private String appCopyright;

    /** 站点风格 */
    @Excel(name = "站点风格")
    private String appStyle;

    /** 描述 */
    @Excel(name = "描述")
    private String appDescription;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appDatetime;

    /** 移动端风格 */
    @Excel(name = "移动端风格")
    private String appMobileStyle;

    /** 应用续费时间 */
    @Excel(name = "应用续费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appPayDate;

    /** 费用清单 */
    @Excel(name = "费用清单")
    private String appPay;

    /** 0运行中 1已停止 */
    @Excel(name = "0运行中 1已停止")
    private Integer appState;

    /** 0启用 1停用 */
    @Excel(name = "0启用 1停用")
    private Integer appMobileState;

    /**  */
    @Excel(name = "")
    private String appLoginPage;

    /** 备案号 */
    @Excel(name = "备案号")
    private String appRecordNo;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }
    public void setAppUrl(String appUrl) 
    {
        this.appUrl = appUrl;
    }

    public String getAppUrl() 
    {
        return appUrl;
    }
    public void setAppLogo(String appLogo) 
    {
        this.appLogo = appLogo;
    }

    public String getAppLogo() 
    {
        return appLogo;
    }
    public void setAppKeyword(String appKeyword) 
    {
        this.appKeyword = appKeyword;
    }

    public String getAppKeyword() 
    {
        return appKeyword;
    }
    public void setAppCopyright(String appCopyright) 
    {
        this.appCopyright = appCopyright;
    }

    public String getAppCopyright() 
    {
        return appCopyright;
    }
    public void setAppStyle(String appStyle) 
    {
        this.appStyle = appStyle;
    }

    public String getAppStyle() 
    {
        return appStyle;
    }
    public void setAppDescription(String appDescription) 
    {
        this.appDescription = appDescription;
    }

    public String getAppDescription() 
    {
        return appDescription;
    }
    public void setAppDatetime(Date appDatetime) 
    {
        this.appDatetime = appDatetime;
    }

    public Date getAppDatetime() 
    {
        return appDatetime;
    }
    public void setAppMobileStyle(String appMobileStyle) 
    {
        this.appMobileStyle = appMobileStyle;
    }

    public String getAppMobileStyle() 
    {
        return appMobileStyle;
    }
    public void setAppPayDate(Date appPayDate) 
    {
        this.appPayDate = appPayDate;
    }

    public Date getAppPayDate() 
    {
        return appPayDate;
    }
    public void setAppPay(String appPay) 
    {
        this.appPay = appPay;
    }

    public String getAppPay() 
    {
        return appPay;
    }
    public void setAppState(Integer appState) 
    {
        this.appState = appState;
    }

    public Integer getAppState() 
    {
        return appState;
    }
    public void setAppMobileState(Integer appMobileState) 
    {
        this.appMobileState = appMobileState;
    }

    public Integer getAppMobileState() 
    {
        return appMobileState;
    }
    public void setAppLoginPage(String appLoginPage) 
    {
        this.appLoginPage = appLoginPage;
    }

    public String getAppLoginPage() 
    {
        return appLoginPage;
    }
    public void setAppRecordNo(String appRecordNo) 
    {
        this.appRecordNo = appRecordNo;
    }

    public String getAppRecordNo() 
    {
        return appRecordNo;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appName", getAppName())
            .append("appUrl", getAppUrl())
            .append("appLogo", getAppLogo())
            .append("appKeyword", getAppKeyword())
            .append("appCopyright", getAppCopyright())
            .append("appStyle", getAppStyle())
            .append("appDescription", getAppDescription())
            .append("appDatetime", getAppDatetime())
            .append("appMobileStyle", getAppMobileStyle())
            .append("appPayDate", getAppPayDate())
            .append("appPay", getAppPay())
            .append("appState", getAppState())
            .append("appMobileState", getAppMobileState())
            .append("appLoginPage", getAppLoginPage())
            .append("appRecordNo", getAppRecordNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
